package com.scpcfe.www.controller;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class test1 {
    @GetMapping("/str1")
    public String world(String str1) {
        str1 = "01,02,03";
        str1 = str1.replace(",",":");
        return str1 ;
    }

    @SpringBootApplication
    public static class SpringDemoApplication {

        public static void main(String[] args) {
            SpringApplication.run(SpringDemoApplication.class, args);
        }

    }
}
